package com.chahu.mapper;

import com.chahu.entity.Snack;
import org.apache.ibatis.annotations.Insert;

public interface UploadMapper {

    @Insert("insert into snacks values(null, #{name}, #{categoryId}, #{price}, #{image}, #{inventory}, #{createTime}, #{createTime})")
    void upload(Snack snack);
}
